package com.tskj.leonsu.service;

import com.alibaba.fastjson.JSONArray;

public interface OrderServiceBiz {
    /**
     * 获取未完成订单
     *
     * @param adUserName
     * @return
     */
    JSONArray getUnFinishedOrder(String adUserName);

    /**
     * 获取已完成订单
     *
     * @param adUserName
     * @return
     */
    JSONArray getFinishedOrder(String adUserName);

    /**
     * 获取全部订单
     *
     * @param adUserName
     * @return
     */
    JSONArray getAllOrder(String adUserName);

    void confirmOrder(String adUserName, String orderId) throws Exception;

    void cancelOrder(String adUserName, String orderId) throws Exception;
}
